package lambda;

import java.io.File;
import java.io.FileFilter;

import static java.lang.Character.getName;

public interface LambdaDemo {
    public static void main(String[] args) {
      /*  FileFilter fileFilter=new FileFilter() {
            @Override
            public boolean accept(File f) {
                return f.getName().startsWith(".");
            }
        };*/
        FileFilter fileFilter=f->f.getName().startsWith(".");
        }
    }

